package com.rabbit.constant;

/**
 * <h1>安全校验相关常量</h1>
 *
 * @author zjw
 * @date 2021/6/29 15:51
 */
public class SecurityConstant {

    /**
     * 用户Token信息头
     */
    public static final String TOKEN_HEADER = "rf-auth";

    /**
     * traceId
     */
    public static final String LOG_TRACE_ID = "traceId";

    /**
     * 当前后台登录用户信息
     */
    public static final String LOGIN_USER = "LOGIN_USER";

    /**
     * 当前C端登录用户信息
     */
    public static final String LOGIN_CUSTOMER = "LOGIN_CUSTOMER";

    /**
     * 当前登录用户角色信息
     */
    public static final String LOGIN_ROLE = "LOGIN_ROLE";

    /**
     * 超级管理员
     */
    public static final String SUPER_ADMIN = "super-admin";

    /**
     * C端用户
     */
    public static final String APP_USER = "app-user";
}
